﻿@model bdxyit.com.RecruitmentAppSys.ViewModels.BasicInfoViewModels

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/DatePicker/WdatePicker.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    
    <div id="NavMessage">
        <ul>
            <li >@Html.ActionLink("个人信息", "Index", "EducationInfo", new { @style = "color: Red;" })</li>
            <li>@Html.ActionLink("教育信息", "Index", "EducationInfo")</li>
            <li>@Html.ActionLink("工作履历", "Index", "EducationInfo")</li>
            <li>@Html.ActionLink("应聘岗位", "Index", "EducationInfo")</li>
            <li>@Html.ActionLink("上传照片", "Index", "EducationInfo")</li>
        </ul>
    </div>    
    <div id="BasicMessage">
        <fieldset>
            <legend>基本信息</legend>
            <table>
                <tr>
                    <td>
                        <div class="editor-label">
                            姓名：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.UserName)
                            @Html.ValidationMessageFor(b => b.UserInfo.UserName)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            拼音：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.UserName2)
                            @Html.ValidationMessageFor(b => b.UserInfo.UserName2)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            性别：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.DropDownList("SysID", new SelectList(Model.SystemInfoSex as System.Collections.IEnumerable, "SysID", "SysItem",Model.UserInfo.Sex))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            籍贯：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.Hometown)
                            @Html.ValidationMessageFor(b => b.UserInfo.Hometown)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            民族：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.DropDownList("EthnicID", new SelectList(Model.EthnicList as System.Collections.IEnumerable, "EthnicID", "EthnicName",Model.UserInfo.EthnicID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            政治面貌：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.DropDownList("SysID", new SelectList(Model.SystemInfoPolitical as System.Collections.IEnumerable, "SysID", "SysItem",Model.UserInfo.PoliticalID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            身高：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.Sex)
                            @Html.ValidationMessageFor(b => b.UserInfo.Height
                )
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            体重：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.Weight)
                            @Html.ValidationMessageFor(b => b.UserInfo.Weight)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            视力：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.DropDownList("SysID", new SelectList(Model.SystemInfoVision as System.Collections.IEnumerable, "SysID", "SysItem",Model.UserInfo.VisionID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            婚姻状况：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                        @Html.DropDownList("SysID", new SelectList(Model.SystemInfoMarital as System.Collections.IEnumerable, "SysID", "SysItem",Model.UserInfo.Marital))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            身份证号码：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.UserID)
                            @Html.ValidationMessageFor(b => b.UserInfo.UserID)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            出生日期：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.Birthday)
                            @Html.ValidationMessageFor(b => b.UserInfo.Birthday)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            参加工作时间：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.TextBoxFor(b => b.UserInfo.StartWorkTime, new { @class = "Wdate", onfocus = "WdatePicker()" })
                            @Html.ValidationMessageFor(b => b.UserInfo.StartWorkTime)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            现工作单位：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.Job)
                            @Html.ValidationMessageFor(b => b.UserInfo.Job)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            部门及职务：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.SectorPosts)
                            @Html.ValidationMessageFor(b => b.UserInfo.SectorPosts)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            户口所在地：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.Location)
                            @Html.ValidationMessageFor(b => b.UserInfo.Location)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            人事档案现存机构：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.PersonnelFiles)
                            @Html.ValidationMessageFor(b => b.UserInfo.PersonnelFiles)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            联系电话：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.PhoneNumber)
                            @Html.ValidationMessageFor(b => b.UserInfo.PhoneNumber)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            电子邮件：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.Email)
                            @Html.ValidationMessageFor(b => b.UserInfo.Email)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            通讯地址：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.Address)
                            @Html.ValidationMessageFor(b => b.UserInfo.Address)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            邮政编码：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserInfo.PostalCode)
                            @Html.ValidationMessageFor(b => b.UserInfo.PostalCode)
                        </div>
                    </td>
                </tr>
            </table>
            <p>
                <input type="submit" value="下一步" />
            </p>
        </fieldset>
    </div>
}